package com.chris.design.pattern.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class DesignPatternSamplesApplication {

    public static void main(String[] args) {
        SpringApplication.run(DesignPatternSamplesApplication.class, args);
    }

    @RequestMapping("/")
    public String index() {
        return "index page, Spring-Boot-2.0.3.RELEASE";
    }
}
